home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir29
/
gmsb28.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-01-08
|
4KB
|
96 lines
echo off
cls
break on
if %0==a:install goto adrive
if %0==A:install goto adrive
if %0==A:INSTALL goto adrive
if %0==b:install goto bdrive
if %0==B:install goto bdrive
if %0==B:INSTALL goto bdrive
if %0==install goto doinstall
if %0==INSTALL goto doinstall
echo Please switch to the drive you wish to install from before
echo starting install. For example, to install from the B: drive,
echo Enter B:
echo Then enter INSTALL %1
goto End
:adrive
a:
goto makedir
:bdrive
b:
goto makedir
:doinstall
if "%1"=="" goto DriveNeeded
if exist %1\*.* goto makedir
:InvalidDrive
echo "%1" is an invalid drive name. Please use the correct drive letter
echo followed by a colon:
:DriveNeeded
echo Please specify which drive to install Super Edition XXVIII to,
echo for example:
:Example
echo.
echo install c:
goto End
:MakeDir
echo ╔════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ GAMBLER'S MATE ║
echo ║ Super Bowl Edition XXVIII ║
echo ║ Copyright (c) 1994 ║
echo ║ By Mark E. Savey ║
echo ║ Disk Install Utility ║
echo ║ ║
echo ║ ║
echo ║ This program will install all files into a directory called ║
echo ║ "\GM\SB28" on drive %1. If you do not wish to do this, then ║
echo ║ press Ctrl-C then "Y" now. ║
echo ║ ║
echo ╚════════════════════════════════════════════════════════════════╝
echo.
pause
echo.
echo Checking for existence of %1\GM\SB28...
if exist %1\GM\SB28\*.* goto DirExists
if not exist %1\GM\*.* goto makeit
goto carryon
:makeit
md %1\GM > NUL
:carryon
echo.
echo Making appropriate Super Bowl Edition XXVIII directories...
md %1\GM\SB28 > NUL
echo Everything is OK. %1\GM\SB28 present!
goto CopyFiles
:DirExists
echo WARNING: The directory %1\GM\SB28 already exists. Press Ctrl-C then
echo "Y" now if you don't want to overwrite the contents of that
echo directory.
echo.
pause
echo.
:CopyFiles
echo.
echo Extracting and copying "Super Bowl Edition XXVIII" files to %1\GM\SB28...
copy/v *.* %1\GM\SB28
if not exist %1\GM\SB28\SB.EXE goto InstallError
cls
echo ╔═══════════════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ Super Bowl Ed. XXVIII has been successfully installed to your %1 drive. ║
echo ║ ║
echo ║ To run Super Bowl Edition XXVIII type 'SB28' and press ENTER. ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
%1
cd %1\GM\SB28
goto End
:InstallError
echo ERROR: Installation of Super Bowl Ed. XXVIII into %1\GM\SB28 was unsuccessful.
echo This could be caused because your %1 drive is full or unaccessible.
echo The Super Bowl Edition needs about 133K of free disk space.
echo.
:End
echo.